package com.zboot.zbootadmin.project.base.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author draw
 * @since 2021-05-08
 */
@Data
@ApiModel(value = "MachieryPart对象", description = "")
public class MachieryPart implements Serializable {

    private static final long serialVersionUID = 1L;
    private Long id;

    @ApiModelProperty(value = "配件名称")
    private String partNameId;

    @ApiModelProperty(value = "配件编码")
    private String code;

    @ApiModelProperty(value = "配件规格")
    private String partSpec;

    @ApiModelProperty(value = "配件品牌")
    private String partBrandIds;

    @ApiModelProperty(value = "件号")
    private String pieces;

    @ApiModelProperty(value = "配件分类")
    private String partCategorieIds;

    @ApiModelProperty(value = "支持车型")
    private String applyModelIds;

    @ApiModelProperty(value = "支持系统结构")
    private String applyStructureIds;

    @ApiModelProperty(value = "状态：0启用，1删除")
    private Integer status=0;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createDate =new Date();

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date lastModifedDate=createDate;


}
